conky.config = {
    -- window position and size
    alignment = 'middle_right',
    gap_x = 32,
    gap_y = 32,
    minimum_height = 600,
    minimum_width = 450,
    maximum_width = 450,
    background = false,
    border_width = 1,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'override',
    -- Colors
    font = 'RobotoMono Nerd Font:size=11',
    font1 = 'RobotoMono Nerd Font:size=11',
    color1 = '#41c5eb',                        -- accent
    color2 = '#c8c8c8',                        -- accent dimmed
    color4 = '#c0d4ff',
    color3 = '#ffffff',
    own_window_transparent = false,            -- transparency
    own_window_argb_visual = true,             -- transparency
    own_window_argb_value = 195,               -- transparency [0 -255]
    own_window_colour = '#121214',             -- bg color [comment to full transparency]
    default_color = 'white',                   -- default colors
    default_outline_color = 'white',           -- default colors
    default_shade_color = 'white',             -- default colors
    double_buffer = true,                      -- removes flickering
    draw_borders = false,                      -- borders (window)
    draw_graph_borders = true,                 -- borders (graphs)
    draw_outline = false,                      -- border (text)
    draw_shades = false,                       -- shades
    extra_newline = false,                     -- extra newline at the end when writing to stdout
    -- other
    update_interval = 1.0,
    cpu_avg_samples = 4,
    net_avg_samples = 4,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${voffset 0}
${goto 24}${color1}${font1} OS ${voffset 8}${font}  
${goto 24}${color3}OS:        ${color4}$sysname $nodename $machine  ${alignr}${color1}  ${color2}${battery_percent BAT1}%  
${goto 24}${color3}Kernel:    ${color4}$kernel  
${goto 24}${color3}Uptime:    ${color4}$uptime

${goto 24}${color1}${font1} File system ${voffset 8}${font}

${goto 24}${color3}root:  ${color4}${fs_used /}/${fs_size /} ${alignr} ${fs_used_perc /}% ${color1}${fs_bar 6, 124 /}
${goto 24}${color3}home:  ${color4}
${goto 24}${color3}root:  ${color4}${fs_used /}/${fs_size /} ${alignr} ${fs_used_perc /}% ${color1}${fs_bar 6, 124 /}
${goto 24}${color3}home:  ${color4}${fs_used /home}/${fs_size /home} ${alignr} ${fs_used_perc /home}% ${color1}${fs_bar 6, 124 /}


${goto 24}${color1} Processes: ${color4}$processes${alignr}${color1}Running: ${color4}$running_processes ${color1}Threads: ${color4}$running_threads  

${voffset 0}
${goto 24}${color1}${font1} Memory (MiB) ${font1} ${alignr}${color1}${font1} CPU (%)${font}${voffset 8}
${goto 24}${color4}${top_mem name 1}${color4}${top_mem mem 1}${alignr}${color4}${top name 1}${color4}${top cpu 1}${voffset 8}
${goto 24}${color4}${top_mem name 2}${color4}${top_mem mem 2}${alignr}${color4}${top name 2}${color4}${top cpu 2}${voffset 8}
${goto 24}${color4}${top_mem name 3}${color4}${top_mem mem 3}${alignr}${color4}${top name 3}${color4}${top cpu 3}${voffset 8}
${goto 24}${color4}${top_mem name 4}${color4}${top_mem mem 4}${alignr}${color4}${top name 4}${color4}${top cpu 4}${voffset 8}
    

${goto 24}${color3}RAM:  ${color4}$mem/$memmax ${alignr}$memperc% ${color1}${membar 4, 124}  
${goto 24}${color3}Swap: ${color4}$swap/$swapmax ${alignr}$swapperc% ${color1}${swapbar 4, 124}  
${goto 24}${color3}CPU:  ${color4}${freq_g}GHz ${color4}${alignr}${cpu}% ${color1}${cpubar 4, 124}${voffset 8}  
${goto 24}${color1}${memgraph 16, 175}${alignr}${color1}${cpugraph 16, 175}  


${voffset 0}
${goto 24}${color1}${font1}說 Network 
${goto 24}${color3}Interface: ${color4}eth0 ${wireless_essid eth0}${alignr}${color3}IP: ${color4}${addr eth0}  
${goto 24}${color3}Total Up: ${color4}${totalup eth0} ${alignr}${color3}Total Down: ${color4}${totaldown eth0}  
${goto 24}${color3}Speed Up: ${color4}${upspeed eth0} ${alignr}${color3}Speed Down: ${color4}${downspeed eth0}${voffset 8}  
${goto 24}${color1}${upspeedgraph eth0 16, 175} ${alignr}${downspeedgraph eth0 16, 175}  

${goto 24}${color1}Interface: wlan0 ${color2}${wireless_essid wlan0}${alignr}${color1}IP: ${color1}${addr wlan0}  
${goto 24}${color3}Total Up: ${color4}${totalup wlan0} ${alignr}${color3}Total Down: ${color4}${totaldown wlan0}  
${goto 24}${color3}Speed Up: ${color4}${upspeed wlan0} ${alignr}${color3}Speed Down: ${color4}${downspeed wlan0}${voffset 8}  
${goto 24}${color1}${upspeedgraph wlan0 16, 175} ${alignr}${downspeedgraph wlan0 16, 175}${voffset 8}  


]]
